import { defineStore } from 'pinia'
 
 
export const useCounterStore = defineStore('counter', {
    state: () => ({ islogin: false }),
    getters: {
        getlogin: (state) => state.islogin,
    },
    actions: {
        dologin() {
            this.islogin = true
        },
        dologout() {
            this.islogin = false
        },
    },
})